
#import <Foundation/Foundation.h>
#ifdef MCPRN_REMOTE_LOAD
#import <SocketRocket/SocketRocket.h>
@interface MCPSocketUtils : NSObject
/** 连接状态 */
@property (nonatomic,assign) SRReadyState socketReadyState;
@property (nonatomic,  copy) void (^didReceiveMessage)(id message);
+ (MCPSocketUtils *)instance;

-(void)SRWebSocketOpen:(NSString*)wsUrl;//开启连接
-(void)SRWebSocketClose;//关闭连接
- (void)sendData:(NSDictionary *)paramDic withRequestURI:(NSString*)requestURI;//发送数据
- (void)registerNetworkNotifications;//监测网络状态


#else
@interface MCPSocketUtils : NSObject

#endif
@end
